@import "../common.less";

.container{
  background: #e8e9ef;
  height: 100%;

  .main{
    height: 100%;
  }
  .m-right{
    height: 100%;

    .pc-header{
      text-align: center;
      background: @clr-white;
      margin-bottom: 15px;
      img{
        .fn-wh(176px,auto);
        padding: 14px;
      }
    }

    .content{
      overflow-x: hidden;
      overflow-y: auto;
    }
  }


  .m-left{
    height: 100%;
  }
}


@media (max-width: @screen-xs-max) {

  .container .m-right .content{
    height: calc(~'100% - 44px');
  }

  .pc-header{
    display: none;
  }
  /*silderbar*/
  .silder-content{
    .fn-wh(100%,100%);
    position: absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom: 0px;
    background: rgba(0,0,0,.5);
    z-index: 999;
    display: none;
    transition: all 2s;
    -moz-transition: all 2s;	/* Firefox 4 */
    -webkit-transition: all 2s;	/* Safari 和 Chrome */
    -o-transition: all 2s;	/* Opera */
    .sildebar{
      .fn-wh(266px,100%);
      background: rgb(37,41,50);
      /* transform: translateX(-266px);
       -webkit-transform: translateX(-266px);
       -moz-transform: translateX(-266px);
       -o-transform: translateX(-266px);*/
      transition: all 2s;
      -moz-transition: all 2s;	/* Firefox 4 */
      -webkit-transition: all 2s;	/* Safari 和 Chrome */
      -o-transition: all 2s;	/* Opera */
    }
  }
  .silder-content.active{
    display: block;
  }
  /*silderbar end*/
}

@media (min-width: @screen-xs-max) {
  .container .m-right .content{
    height: calc(~'100% - 80px');
  }
  .mb-header{
    display: none;
  }


}



//----------silderbar----------
.sildebar{
  background: rgb(37,41,50);
  height: 100%;
  padding: 0;
  .silde-header .banner{
    .fn-wh(100%,120px);
  }
  .silde-content{
    .fn-wh(100%,125px);
    position: relative;
    .float-block{
      .fn-wh(100%,auto);
      position: absolute;
      top:-40px;
      text-align: center;
      color: @clr-white;
    }
    .img-head{
      .fn-wh(80px,80px);
      .fn-radius(50%);
      border:solid 2px @clr-white;
      margin-bottom: 20px;
    }
  }
  .silde-menu-list{
    .menu{
      .fn-wh(100%,auto);
      display: block;
      padding: 10px 20px;
      line-height: 30px;
      text-align: center;
      color: @clr-white;
      position: relative;

      .icon{
        .fn-wh(24px,24px);
        display: inline-block;
        background: url("../assets/spirit.png") no-repeat;
        background-size: 435px auto;
        margin-bottom: -7px;
        margin-right: 10px;
      }
      .icon.icon-child{
        background-position: -321px 0px;
      }
      .icon.icon-faq{
        background-position: -296px 0px;
      }
    }
    .menu::after{
      .fn-wh(24px,24px);
      content: "";
      display: inline-block;
      background: url("../assets/spirit.png") no-repeat;
      background-size: 435px auto;
      background-position: -421px 0px;
      position: absolute;
      right: 10px;
      top:13px;
    }
    .menu.acvite{
      background: rgb(28,33,39);
    }
  }
}

//----------silderbar end----------



//----------header----------
.mb-header{
  .sidebar-toggle{
    position: absolute;
    padding: 6px 10px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    .icon-bar{
      display: block;
      width: 22px;
      height: 2px;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius: 4px;
    }
    .icon-bar + .icon-bar {
      margin-top: 4px;
    }
  }
  .headline{
    line-height: 44px;
    text-align: center;
    color: @clr-white;
    font-size: 18px;
  }
}
.header-green{
  background: @clr-turquoisegreen;
  .sidebar-toggle{
    .icon-bar{
      background: @clr-white;
    }
  }
  .headline{
    color: @clr-white;
  }
}
.header-white{
  background: @clr-white;
  .sidebar-toggle{
    .icon-bar{
      background: @clr-dimblack;
    }
  }
  .headline{
    color: @clr-dimblack;
  }
}
//----------header end----------


.btn-help{
  .fn-wh(40px,40px);
  display: block;
  background: red;
  background: url("../assets/spirit.png") no-repeat;
  background-size: 435px auto;
  background-position: -125px 0px;
}
.float-btn{
  position: fixed;
  bottom:10px;
  right: 10px;
}

